﻿<Window x:Class="MangaEplision.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:me="clr-namespace:MangaEplision"
        Title="MangaEplision" Height="350" Width="525" WindowStyle="None" ResizeMode="NoResize">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="42*" />
            <RowDefinition Height="269*" />
        </Grid.RowDefinitions>
        <Grid Grid.Row="0">
            <Grid.Background>
                <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                    <GradientStop Color="LightGray" Offset="0"/>
                    <GradientStop Color="Black" Offset="0.53"/>

                </LinearGradientBrush>
            </Grid.Background>
            
            <StackPanel Height="34" VerticalAlignment="Top" Orientation="Horizontal" Width="80" HorizontalAlignment="Left" Margin="0 4 0 0">
                <Button Name="ReloadBtn" Click="ReloadBtn_Click">
                    <Button.Template>
                        <ControlTemplate>
                            <Image  Height="34" Width="31" Source="/MangaEplision;component/Resources/1286332214_system-software-update.png" Cursor="Hand" ForceCursor="True" ToolTip="Fetches the latest manga."></Image>
                        </ControlTemplate>
                    </Button.Template>
                </Button>
                <Button Name="FindBtn" Click="FindBtn_Click">
                    <Button.Template>
                        <ControlTemplate>
                            <Image Height="34" Width="31" Cursor="Hand" ForceCursor="True" Source="/MangaEplision;component/Resources/1295281691_viewmag.png" ToolTip="Search for manga by name or jump directly to it." />
                        </ControlTemplate>
                    </Button.Template>
                </Button>
            </StackPanel>
            <Label Content="MangaEplision" Margin="177,-7,201,0" Name="label1" Foreground="White" FontSize="18" />
        </Grid>
        <Border Grid.Row="1">
        <TabControl Name="tabControl1">
            <TabItem Header="Find Manga" Name="FindMangaTab">
                <Grid>
                    <GroupBox Header="Available Manga" Margin="5,25,5,5" Name="groupBox1">
                        <Grid>
                            <ListView Name="FindMangaListView">
                            </ListView>
                        </Grid>
                    </GroupBox>
                </Grid>
            </TabItem>
        </TabControl>
        </Border>
    </Grid>
</Window>
